<div class="widget">
{% include 'widget/tinymce.html' %}
<form method="POST" enctype="multipart/form-data" action="/api/item/{{result.item.itemId}}.rdr">
<input type="hidden" name="redirect_success" value="/ui/list/items.html">

item title:
<br/>
<input name="itemName" value="{{result.item.itemName}}" size="66" />
<br/>

item tags:
<br/>
<input name="itemTags" value="{{result.item.itemTags}}" size="66">
<br/>
<input type="checkbox" name="auto_tag" checked/> create any tags that don't already exist
<br/>

item text:
<a href="javascript:toggleEditor('itemDescription');">(add/remove editor)</a>
<br/>
<textarea name="itemDescription" cols="66" rows="15">{{result.item.itemDescription}}</textarea>
<br/>

file(s) to attach: (optional, one/multiple)
<br/>
<input type="file" name="itemData">
<br/>

file type: (optional, browser should populate)
<br/>
<input name="itemType" value="{{result.item.itemType}}" size="66">
<br/>

publication status:
<br/>
<input type="radio" name="itemStatus" value="inaccessible" 
{% ifequal result.item.itemStatus "totally-inaccessible" %}checked{% endifequal %}/> inaccessible
<input type="radio" name="itemStatus" value="citable" 
{% ifequal result.item.itemStatus "exposed-via-citation" %}checked{% endifequal %}/> citable
<input type="radio" name="itemStatus" value="shareable" 
{% ifequal result.item.itemStatus "exposed-via-tagging" %}checked{% endifequal %}/> shareable
<br/>
<input type="checkbox" name="auto_tag" 
{% if result.item.itemIsConsideredPublic %}checked{% endif %}> safe enough to share in "public" feeds
<br/>

<input type="submit" name="save" value="update item" />
<input type="reset" name="reset" value="reset form" />
</form>
</div>
